package cc.example;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.io.IOException;
import java.time.Duration;

public class MonoDemo {
    public static void main(String[] args) throws IOException {
        Mono<Integer> just = Mono.just(1);

        just.subscribe(integer -> System.out.println(integer));


        System.in.read();


    }
}
